﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lm.Common.ExtensionMethods
{
    public static class TcpClientExt
    {
        public static Lm.Common.Net.EncryptedNetworkStream GetEncryptedStream(this System.Net.Sockets.TcpClient client)
        {
            return new Net.EncryptedNetworkStream(client.GetStream());
        }
    }
}
